﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EITSurferInfinityLib
{
    public class EventArgsSimpleData:EventArgs
    {
        public SimpleData data;

        public EventArgsSimpleData(SimpleData sd)
        {
            data = sd;
        }


        public EventArgsSimpleData(int[,] dataA, int[,] dataB)
        {
            data = new SimpleData(dataA.GetLength(1), dataB.GetLength(1));

            for (int j = 0; j < dataA.GetLength(1); j++)
            {
                data.I[j] = dataA[0, j];
                data.Q[j] = dataA[1, j];
            }

            for (int j = 0; j < dataB.GetLength(1); j++)
            {
                data.I2[j] = dataB[0, j];
                data.Q2[j] = dataB[1, j];
            }
        }
    }
}
